package springDome;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import springDome.beans.MyBeanPostProcessor;
import springDome.beans.User;

public class App {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext  applicationContext=new AnnotationConfigApplicationContext(Config.class);
		User user=(User) applicationContext.getBean("getSubUser");
		System.out.println(user);
		applicationContext.destroy();
	}

}
